import React, { Component } from 'react'
import ThemeContext from './context/theme-context'

export class Profile extends Component {
  render() {
    const { color, size } = this.context
    console.log(color, size, 'Profile')

    return (
      <div>
        Profile, {color}, {size}
      </div>
    )
  }
}

Profile.contextType = ThemeContext

export default Profile
